package GUILayer;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

public class LeaseUI extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public LeaseUI() {
		initialize();
	}

	public void initialize() {

		this.setLayout(new BorderLayout(0, 0));

		JTabbedPane subMenu = new SubMenuTabbedPane();
		this.add(subMenu, BorderLayout.CENTER);
		
		JPanel borrowed = new BorrowedLeaseUI();
		subMenu.add(borrowed, "Borrowed");
		
		JPanel returned = new ReturnedLeaseUI();
		subMenu.add(returned, "Returned");
	}

}
